package com.hopes.bizz.risk.transfer.converter.expression;

import com.hopes.bizz.common.core.util.StringUtils;
import org.mapstruct.Named;

/**
 * @author lyb
 * @version 1.0
 * @date 2024/2/18 13:45
 */
public class RiskControlMeasuresExp {

    @Named("controlType")
    public static Integer controlType(String dataSrc) {
        if (StringUtils.isEmpty(dataSrc)) {
            return null;
        }
        return Integer.valueOf(dataSrc);
    }
}
